Flags for SpriteWorldIdle
You can pass the following flags as input to
SpriteWorldIdle
to control drawing of the sprite world.
enum {
kOnlyDrawToSpriteWorld = 1L << 0,
kSpriteWorldPreFlight = 1L << 1
};
Flag descriptions
-
kOnlyDrawToSpriteWorld
-
You set this flag to indicate that drawing should take place in the sprite world only; drawing to the final destination should be suppressed.
-
kSpriteWorldPreFlight
-
You can set this flag to determine whether the sprite world has any invalid areas that need to be drawn. If so, the
SpriteWorldIdle
function returns the
kSpriteWorldNeedsToDraw
flag in the
flagsOut
parameter.
The following flags may be returned in the
flagsOut
parameter of
SpriteWorldIdle
.
enum {
kSpriteWorldDidDraw = 1L << 0,
kSpriteWorldNeedsToDraw = 1L << 1
};
Flag descriptions
-
kSpriteWorldDidDraw
-
If set, this flag indicates that
SpriteWorldIdle
updated the sprite world.
-
kSpriteWorldNeedsToDraw
-
If set, this flag indicates that the sprite world has invalid areas that need to be drawn.
© 1998 Apple Computer, Inc.| Previous | Chapter Contents | Chapter Top | Next |